﻿using System;

using Daystate.BiDictionary;

namespace Daystate.ConfigurationManager
{
    public enum SupportedTypesEnum { String, Integer, Boolean, Float, Double }

    public static class SupportedTypes
    {
        /// <summary>
        /// Avaible types in configuartion.
        /// </summary>
        public static readonly BiDictionary<SupportedTypesEnum, Type> TypesList = new BiDictionary<SupportedTypesEnum, Type>(){
            {SupportedTypesEnum.Boolean, typeof(Boolean)},
            {SupportedTypesEnum.Integer, typeof(Int32)},
            {SupportedTypesEnum.String, typeof(String)},
            {SupportedTypesEnum.Float, typeof(Single)},
            {SupportedTypesEnum.Double, typeof(Double)}
        };
    }
}
